package com.jmex.audio.util;

import java.io.File;

import com.jmex.audio.AudioTrack;

public class AudioDebugging
{
	public static String printSoundFileName(AudioTrack track)
	{
		if(track == null || track.getResource() == null)
			return "null";
		return new File(track.getResource().getFile()).getName()+"(playing:"+track.isPlaying()+",vol:"+track.getVolume()+")";
	}
}
